<template>
  <div>
    <div>
      <MySwipe></MySwipe>
    </div>
    <div>
      <div v-for="(item,index) in list" :key="index">
          <img :src=(item.img) alt="">
          <p>{{item.title}}</p>
          <p>{{item.texxe}}</p>
      </div>
    </div>
  </div>
</template>

<script>
import MySwipe from "../../components/myswipe.vue";
import {mapState,mapActions} from "vuex"
export default {
  components: {
    MySwipe,
  },
  data() {
    return {};
  },
  computed: {
   ...mapState(["list"])
  },
  methods: {
    ...mapActions(["ActionGetlist"])
  },
  created () {
    this.$store.dispatch('ActionGetlist')
  },
  
};
</script>

<style>
</style>